 {{-- PARTS SUMMARY --}}
<div class="box box-orange">
	<div class="box-title">
		<h3><i class="icon-table"></i> {{ $title }}</h3>
		<div class="box-tool"><a data-action="collapse" href="#"><i class="icon-chevron-up"></i></a></div>
	</div>
	<div class="box-content">
		<table class="table table-bordered">
			<thead>
				<tr>
@foreach ($summaries as $key=>$summary)
@foreach ($summary as $k=>$v)
<th>{{ str_replace('_', ' ', ucfirst($k)) }}</th>
@endforeach
<?php break; ?>
@endforeach
				</tr>
			</thead>
			<tbody>
@foreach ($summaries as $key=>$summary)
				<tr>
<td>{{ $summary['id'] }}</td>
<td>{{ $summary['count'] }}</td>
<td>@include('nimo.domains.car_balance.Main._field_money', array('value'=>$summary['price']))</td>
<td>@include('nimo.domains.car_balance.Main._field_money', array('value'=>$summary['delivery_fee']))</td>
<td>@include('nimo.domains.car_balance.Main._field_money', array('value'=>$summary['commission']))</td>
<td>@include('nimo.domains.car_balance.Main._field_money', array('value'=>$summary['payment_commission']))</td>
				</tr>
@endforeach
			</tbody>
		</table>
	</div>
</div>

